package com.qiangesoft.bootcodegen.pojo.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 操作日志查询参数
 *
 * @author qiangesoft
 * @date 2024-03-06
 */
@Data
@ApiModel(value = "操作日志查询参数")
public class BcgOperationLogQuery {

    @ApiModelProperty(value = "数据库类型")
    private String operationName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
}
